﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CMN.Entity
{
      ///<summary>
    ///Sys_RolePermissionEntity实体类(角色应用权限表)
    ///</summary>
    [Serializable]
    public partial class Sys_RolePermissionEntity
    {
        #region "Private Variables"
        private DataTableAction _DataTable_Action;  // 操作方法 Insert:增加 Update:修改 Delete:删除
        private Int32 _PermissionID=0; // 角色应用权限自动ID
        private Int32 _P_RoleID=0; // 角色ID与sys_Roles表中RoleID相
        private String _P_PageCode=""; // 角色应用中页面权限代码
        private Int32 _P_Value=0; // 权限值
        #endregion

        #region "Public Variables"
        ///<summary>
        /// 操作方法 Insert:增加 Update:修改 Delete:删除
        ///</summary>
        public DataTableAction DataTable_Action
        {
            set { this._DataTable_Action = value; }
            get { return this._DataTable_Action; }
        }
        /// <summary>
        /// 角色应用权限自动ID
        /// </summary>
        public Int32  PermissionID
        {
            set { this._PermissionID = value; }
            get { return this._PermissionID; }
        }
        /// <summary>
        /// 角色ID与sys_Roles表中RoleID相
        /// </summary>
        public Int32  P_RoleID
        {
            set { this._P_RoleID = value; }
            get { return this._P_RoleID; }
        }
        /// <summary>
        /// 角色应用中页面权限代码
        /// </summary>
        public String  P_PageCode
        {
            set { this._P_PageCode = value; }
            get { return this._P_PageCode; }
        }
        /// <summary>
        /// 权限值
        /// </summary>
        public Int32  P_Value
        {
            set { this._P_Value = value; }
            get { return this._P_Value; }
        }
        /// <summary>
        /// 展示值
        /// </summary>
        public string P_ShowCode { get; set; }
        #endregion
    }
}
